package com.wk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

//日志管理类
@Data
@TableName("cmfz_log")
public class CmfzLog implements Serializable {

    @TableId(value="log_id",type= IdType.AUTO)
    private Integer logId;

    @TableField("adminName")
    private String adminName;

    @JsonFormat(pattern = "yyyy-MM-dd:hh:mm:ss")
    private Date logDate;

    private String logIp;

    private String logType;

    private String logContent;

    private String logLocal;
}
